//
//  IMAuthInfo.h
//  IMSecurity
//
//  Created by infosec2013 on 2017/12/19.
//  Copyright © 2017年 IF. All rights reserved.
//

#import <Foundation/Foundation.h>
@class IMUser ;
@interface IMAuthInfo : NSObject
@property(nonatomic,copy)NSString *username;
@property(nonatomic,copy)NSString *appId;
@property(nonatomic,copy)NSString *token;
@property(nonatomic,copy)NSString *time;
@property(nonatomic,copy)NSString *url;

+ (void)getAccessTokenWithUser:(IMUser *)user
           withCompletionBlock:(void(^)(int resultCode,IMAuthInfo *authInfo))completionBlock;
@end
